<?php
include "init.php";
$text_comment = $_POST["text_comment"];
$date_id = $_POST["date_id"];
$result_text_comment = mysql_query("INSERT INTO text_comment (text_comment,`text_date_id`,`text_user_id`,`text_date`) VALUES('$text_comment','$date_id','" . $_SESSION['user']['id'] . "','" . date('Y-m-d H:i:s') . "') ");
?>
<script type="text/javascript">location.href = 'output.php';</script>
